package com.albedo.java;//package com.albedo.java;
//
//import com.albedo.java.util.spring.DefaultProfileUtil;
//import org.springframework.boot.builder.SpringApplicationBuilder;
//import org.springframework.boot.web.support.SpringBootServletInitializer;
//
///**
// * This is a helper Java class that provides an alternative to creating a web.xml.
// * This will be invoked only when the application is deployed to a servlet container like Tomcat, Jboss etc.
// */
//public class ApplicationWebXml extends SpringBootServletInitializer {
//
//    @Override
//    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
//        /**
//         * set a default to use when no profile is configured.
//         */
//        DefaultProfileUtil.addDefaultProfile(application.application());
//        return application.sources(AlbedoBootCloudGateway.class);
//    }
//}
